﻿using System;
using System.Globalization;

class ReadingDate
{
    static void Main()
    {
        string firstDate = "21.12.2012";
        string secondDate = "31.12.2012";

        DateTime startDate = DateTime.ParseExact(firstDate, "d.MM.yyyy", CultureInfo.InvariantCulture);
        DateTime endDate = DateTime.ParseExact(secondDate, "d.MM.yyyy", CultureInfo.InvariantCulture);

        Console.WriteLine((endDate - startDate).TotalDays + " days");
    }
}
